package com.lesso.lpq.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lpq.sunflower.pojo.dto.AttendanceRuleDTO;
import com.lesso.lpq.sunflower.pojo.dto.AttendanceRuleQueryDTO;
import com.lesso.lpq.sunflower.pojo.vo.AttendanceRuleVO;
import com.lesso.lpq.sunflower.pojo.vo.DeviceVO;

/**
 * <p>
 * 考勤规则表 服务类
 * </p>
 *
 * @author zqz
 * @since 2025-07-05
 */
public interface IAttendanceRuleService {

    Long save(AttendanceRuleDTO dto);

    Page<AttendanceRuleVO> page(AttendanceRuleQueryDTO dto);

    void update(AttendanceRuleDTO dto);

    Page<AttendanceRuleVO> customPage(AttendanceRuleQueryDTO dto);

    void deleteById(Long id);

    AttendanceRuleVO getByRuleCode(String ruleCode);
}
